while true and other error