removing all chunk related code