bug fixed for CRUD logic