Program no longer crashes on Sunlab machines