fixed a bug where literals == variables