fixing issue with fade in/out not working