little fix with code priority