Recource loading fixed