compilation rules fix