fixed view formatting error