fixed a potential issue