fixing 1 of 5 bugs