modified contentOffsen expresion