moved statics
fixed typo in view