removed usage of api level
fixed itemsperpage count
cleanups