made loading animations cleaner