fixed while result