restyle
fix bug with resources when using one-jar