compile frandom module
fix warning