Fixed bug in accepting -m argument