Fixed incorrect initialization