added todos to fix view for beter error validation