fixed issue with running after compilation