fixed view mistake