Fixed intent bug