Need help fixing door lock

Both key and post. I don't have the knob on it yet. It looks as though the lever on the latch is hitting another tab on the latch body and that doesn't allow it to move far enough to lock.