Fixing bug with defaultcoverlocation
introduced by the last refactoring