fixing comment editing/deleting bug