fix unclosed hash