fix poetry mode and haml mistake