Fixing regform display bug