fixed a bug where the ": " is optional.