problem with asynchronous loading, but locations pop up after 5 seconds