fix loader issue