Fix is_home statement