Fixed errors while compiling function print_loading_database