Fixed syntax error and style for testing cam upload to canvas