removing white spaces
fixes failure case of having strings or symbols and comparing