bugfix, remove doubled function.