layout to index
actions added
actions bug fix