Fix some warnings https://sourceforge.net/p/webadmin/bugs/4421/