resolved a problem with inserting through views