default mode to computer if not set
fix bug, where checking for null