fixed conflict of global defined variable 'PAGESIZE' (renamed)