bugfix for arc functions