Fixed backwards bug