tidied up jade issue