some rework and prepare to load assets
nice but useless trick