remove ununsable functions