Just FYI,
The bug was somewhere else. My precious reply for set and get worked.
Thanks harsh for your suggestion, that works too but I would rather not have global visibility for the fifo. So I went with what I had earlier :)
Appreciate your response though.