Fixed failed loading if no imports was made.