see if this solves the wierd bugs