fixed top bug