Bug - how to fix?