workaround unrestricted policy and check classpath