little fix in loader