fixes for Railo NULL support