Might have fixed the fade function. test it