load only one file at a time
fix loading bug
add error handling for assets