fixed layout problems but photo still broken