avoid global; loaded() could be called immediately after load(), so make
sure that case is working