fixed staring bug