added error level by string support