fix null folder, some time tomcat7 give null