onsize test fix