fix formatting
element bug fixes