deleted draw page func