fixed a problem with missing args