bug fix for safe ouput