fixed Eugeny/ajenti#533