* made preMount function more robust
Merge pull request #302 from Wolfenswan/dev-preMountFix

Made preMount function more robust