fixed delete error

removed model and $comment. Fixed error undefined variable