improved jade compilation and fixed a bug in paths