fix height operation error