fixed Eugeny/ajenti#589