1. fixes failed to build samples on Debug state.