resolved name exception in Comment model