remove temporary code from viewloader