fixed bugs. converted into absolute layout