fix intent calling