removing sqlite error
corrected view and hroku problem