fixed issues in hmvc environment