got rid of loadview warning