Bug Fixes

Change mode input to octal