Bug in view