fixed avatar module bug in firefox