some quickchecking, found some bugs