fixed hot code reload but and implmented signals