fix intent build