fixed insertid error in itemmapper and added a cache directory
spaces to tabs