fixed [: =: unary operator expected error