little fix for building of the AI