Fixed bug for function being a compile time.