fixed class reloading on hot deployment