src: fixed bug with intents