hot fix
left a {
more error handling