fixed the priority flag so it doesn't force close on api level 15 or below