fixed branch with no arguments bug