make error messages less severe for empty calls
add aditional debug to try and find out what causes this to happen