Code fixed with Jade rules