fix a bug and bump version number to 1.5.0