fixed bug in load page