Fixed error: changed function name