fix auto reload of views and controllers