fixed warn output