fixed a comp bug