fixed haml&formatted code