VS compile error fix