Error in check intent