removed getBounds due to refactoring
refactored
refactored
fix, reverted the previous with som fixes