more modal loading optimizations