fixing boolean array initialization