Fixed bug in pool cleaner