created class to modify own adapter
fixed small error