testings and resolving bugs related to loading