fixed a weird issue