Asterisk doesn't work as expected