draw span and p not so correctly