fixed prototype create