fix point bug