Inconsistent declaration fixed