correcting type in forward declaration