resolved bug for multiline statements