some jsp bugfixing