fix check if it's string