fixed while bug