Data loading correctly in view