fixed to properly use patch or full release path for validation