fixed warning being thrown by duplicate constructor name