fixed function name issue