works, bug solves