how do i solve or prevent this