improvements for jsp class ;)