fixed bug

solved issue with custom version