fixed potentially fatal error...