add check after taking out emoji and it works