fix slow loading